import Taro from '@tarojs/taro'

const db = Taro.cloud.database();

export function getHomework(classKey) {
  return db.collection('homework').where({
    classKey:classKey,
  }).get()
}
